<?php
/*
 * 保养逻辑文件
 * @package    auto
 * @author     YuNian, Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: a8b17c1fa7adcd1044b081e0c7ca18499111f431 $
 */
defined('IN_IXDCW') or exit('Access Denied');
require_once DT_CORE . "/{$module}/common.inc.php";

// header
$headerPart = 'maintain';
require_once MD_ROOT . '/header.inc.php';

$maintainList = AutoMaintain::byCarid($carId);
$maintainHas=0;
foreach($maintainList as $key=>$value){
	if($value["armid"]==$modelId){
		$maintainHas=1;
	}
}
include template('maintainList', $module);